<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <title>开元大酒店</title>
 <link rel="stylesheet" href="${pageContext.request.contextPath}/common/style/bootstrap.css" type="text/css" media="screen" />
 <link rel="stylesheet" href="${pageContext.request.contextPath}/common/style/camera.css" type="text/css" media="screen" />

 <script src="${pageContext.request.contextPath}/common/js/jquery-1.7.2.min.js" type="text/javascript"></script>
 <script src="${pageContext.request.contextPath}/common/js/camera.js" type="text/javascript"></script>
  <script src="${pageContext.request.contextPath}/common/js/front.js" type="text/javascript"></script>
 <script src="${pageContext.request.contextPath}/common/js/jquery.easing.1.3.js" type="text/javascript"></script>
 <script type="text/javascript">
 $(function(){
 	jQuery('.camera_wrap').camera({
 	loader: 'none',
 	height: 'auto',
	width:'auto',
	hover:'false'
	});
 })
 </script>
 <style type="text/css">

 li{
 float:left;
 display: block;
    line-height: 20px;
    margin: 0 15px 20px 0;
 }
 span{
 width:60px;
 display:inline-block;
 }
 .loginbutton{
 margin-left:50px;
 margin-bottom:0;
 text-align: right;
    width: 250px;
 } 
 .regbutton{
 margin-left:50px;
 margin-bottom:0;
 text-align: right;
    width: 550px;
 }

 </style>
 <script type="text/javascript">
 
 </script>
  </head> 
  <body>
  
<div class="camera_wrap">
<s:iterator value="hotelPicList">
	<div data-src="${pageContext.request.contextPath }/${picUrl}"></div>
</s:iterator>
</div>
    <div class=" modal">
    <div class="modal-header">
  
    <h3>${ hotel.name} 欢迎您</h3>
    </div>
    <div class="modal-body">
    <p>&nbsp;&nbsp;&nbsp;&nbsp;酒店简介：${hotel.summary }</p>
    </div>
    <div class="modal-body" style="display:none;">
    	<form  onsubmit="return loginFormSubmit();">
    	<ul>
    	<li><span>用户名</span><input type="text" id="name"/></li>
    	<li><span>密&nbsp;&nbsp;&nbsp;码</span><input type="password" id="pwd"/><span id="msg"></span></li>
    	<li class="loginbutton"><input type="submit" class="btn" value="登录"/></li>
    	</ul>
    	</form>
    </div>
    <div class="modal-body" style="display:none;">
    	<form onsubmit=" return reg();">
   		 <ul>
    	<li><span>用户名</span><input type="text" id="rename"/></li>
    	<li><span>密&nbsp;&nbsp;&nbsp;码</span><input type="password" id="pwd2"/></li>
    	</ul>
    	<ul>
    	<li><span>确认密码</span><input type="password" id="repwd"/></li>
    	<li><span>邮&nbsp;&nbsp;&nbsp;箱</span><input type="text" id="email"/><span id="msg2"></span></li>
    	<li class="regbutton"><input type="submit" class="btn" value="注册"/></li>
    	</ul>
    	</form>
    </div>
    <div class="modal-footer">
    <a href="#" id="register" class="btn">注册</a>
    <a href="#" id="login" class="btn">登录</a>
    <a href="${pageContext.request.contextPath }/view/index.action" class="btn btn-primary">进入首页</a>
    </div>
    </div>
  </body>
</html>
